package
{
	import com.tongji.diy.event.furnitureOptimizationEvent.FurnitureOptimizationClickEvent;
	
	import flash.events.MouseEvent;
	
	import org.robotlegs.mvcs.Mediator;
	
	public class DiyMediator extends Mediator
	{
		[Inject]
		public var view:Diy;
		public function DiyMediator()
		{
			super();
		}
		override public function onRegister():void
		{
			view.addEventListener(FurnitureOptimizationClickEvent.FURNITURE_OPTIMIZATION,dispatch);
			view.addEventListener(FurnitureOptimizationClickEvent.FURNITURE_OPTIMIZATION_FRAGMENT_SHOW,dispatch);
		}
	}
}